package com.zhaotianhao.pojo;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * (Order)实体类
 *
 * @author makejava
 * @since 2022-03-03 17:54:01
 */
@Data
@Accessors(chain = true)
public class Order implements Serializable {
    private static final long serialVersionUID = -36095619732569845L;
    /**
     * 订单编号
     */
    private String id;
    /**
     * 下单人
     */
    private Integer userId;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 0 待付 1已经支付 2 已经取消
     */
    private Integer status;
    /**
     * 应付
     */
    private Double price;
    /**
     * 实付
     */
    private Double factPrice;
    /**
     * 订单详情
     */
    private List<OrderItem> orderItems;
}

